package com.example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pay.domain.UserMoneyAccount;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

/**
* @author CETC
* @description 针对表【user_money_account_0】的数据库操作Mapper
* @createDate 2025-11-01 18:18:45
* @Entity com.example.pay.domain.UserMoneyAccount0
*/
public interface UserMoneyAccountMapper extends BaseMapper<UserMoneyAccount> {

    @Select("SELECT * FROM ${tableName} WHERE  uuid=#{uuid}")
    public UserMoneyAccount selectUserMoneyAccountById(@Param("tableName") String tableName, @Param("uuid") String id);

    @Select("SELECT * FROM ${tableName} WHERE user_id=#{userId}")
    public UserMoneyAccount selectUserMoneyAccountByUserId(@Param("tableName") String tableName, @Param("userId") String userId);


}




